<?php
class Mxml extends CI_Model {
    public function __construct() {
        parent::__construct();
        $this->load->model(array('Mdriver', 'Mstation', 'Mvehicle', 'Mline'));
    }
    
    public function listAll() {
        $data = array();
        $data['driver'] = $this->Mdriver->listAllDrivers();
        $data['station'] = $this->Mstation->listAllStations();
        $data['vehicle'] = $this->Mvehicle->listAllVehicles();
        $data['line'] = $this->Mline->listAllLines();
        return $data;
    }
}